import request from '/@/utils/request';

export function LoginLogApi() {
	return {
		view: (id: any) => {
			return request({
				url: `sys/log/login/view/${id}`,
				method: 'GET',
			});
		},
		delete: (id: any) => {
			return request({
				url: `sys/log/login/delete/${id}`,
				method: 'DELETE',
			});
		},
		search: (data: object) => {
			return request({
				url: 'sys/log/login/search',
				method: 'POST',
				data,
			});
		},
	};
}
